<?php
defined('IN_WZ') or exit('No direct script access allowed');
/**
 * Created by PhpStorm.
 * User: 闲道人阿力
 * Date: 2016/9/7
 * Time: 14:36
 */
class jpush
{







    public function androidpushbyid(){



        //$data['cid'] = $GLOBALS['cid'];
        //$data['id'] = $GLOBALS['id'];
        $data = $GLOBALS['data'];

        $jpush = load_class("jpushsdk","api");
        $jpush->androidpushbyid($GLOBALS['deviceid'],$GLOBALS['alert'],$GLOBALS['title'],$data);

    }

    public function iospushbyid()
    {
        $data = $GLOBALS['data'];
        $jpush = load_class("jpushsdk","api");
        $jpush->iospushbyid($GLOBALS['deviceid'],$GLOBALS['message'],$data);
    }






}